package com.springboot.husha.controller;

import com.springboot.husha.service.IAppuserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/api/admin/welcome")
public class WelcomeController {

    /**
     * 路由地址
     */
    public String prefix = "/view/admin/";


    /**
     * 进入管理页面
     * @return
     */
    @RequestMapping("/index")
    public String index(){
        return prefix+"/welcome";
    }

}
